Tourfic\Classes\Hotel\Pricing D

Total Complexity 546
Dependencies 6
Dependents 6
Total lines 1,582
Lines of code 1,367
Logical lines of code 800
Comment lines 31
Methods 18
Properties 13

Methods 18

Method Rating Maintainability Complexity Lines of code
get_min_price()
D
2
128 465
get_per_price()
D
16
98 179
get_min_max_price()
D
18
71 207
get_per_price_old()
D
25
67 121
get_min_max_price_from_all_hotel()
D
30 54 86
get_service_price()
C
42 29 43
get_availability_total_price()
C
38 25 56
get_total_price()
B
39 22 57
get_per_price_html()
B
42 16 54
set_dates()
A
49 9 28
__construct()
S
57 7 14
get_discount()
S
63 5 9
calculate_discount()
S
62 4 11
get_min_price_html()
S
58 3 15
apply_discount()
S
66 3 8
set_persons()
S
68 3 7
set_room_number()
S
77 1 4
instance()
S
78 1 3